PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


GetThemeTrackThumbRgn

Obtains the region containing a track's indicator.

pascal OSStatus GetThemeTrackThumbRgn (
                     const ThemeTrackDrawInfo *drawInfo,
                     RgnHandle thumbRgn);
drawInfo
A pointer to a structure of type ThemeTrackDrawInfo . Before calling GetThemeTrackThumbRgn , set the structure to contain the current visual characteristics of the track.
thumbRgn
A value of type RgnHandle . On return, the region contains the actual dimensions and position of the indicator, in local coordinates.
function result
A result code; see Result Codes .
DISCUSSION

Your application can use the GetThemeTrackThumbRgn function to obtain the indicator region for tracks that have indicators, such as sliders and scroll bars.

VERSION NOTES

Available with Appearance Manager 1.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)